package com.fenghongzhang.lib_common.utils

import androidx.appcompat.app.AppCompatActivity
import com.alibaba.android.arouter.launcher.ARouter


object ARouterUtils {
    fun jump(page: String) {
        val navigation = ARouter.getInstance().build(page)
//        if (id.isNotEmpty())
//            navigation.withString(IntentData.KEY_ID, id)
//        if (name.isNotEmpty())
//            navigation.withString(IntentData.KEY_NAME, name)
//        if (bool != null)
//            navigation.withBoolean(IntentData.KEY_BOOLEAN, bool)
        navigation.navigation()
    }

}